package com.cloud.dubbo.properties;

import com.cloud.dubbo.enumd.RequestLogEnum;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 自定义配置
 *
 * @author donghg
 */
@Data

@ConfigurationProperties(prefix = "dubbo.custom")
public class DubboCustomProperties {

    /**
     * 是否开启请求日志记录
     */
    private Boolean requestLog = false;

    /**
     * 日志级别
     */
    private RequestLogEnum logLevel = RequestLogEnum.INFO;

}
